export function chunkArray(array: Array<any>, chunkSize: any) {
  const result = [];
  for (let i = 0; i < array.length; i += chunkSize) {
    const chunk = array.slice(i, i + chunkSize);
    result.push(chunk);
  }
  return result;
}

function initArray(length: number, value: any) {
  return Array.from(
    { length },
    (_, i) =>
      ({
        image:
          `file:///storage/emulated/0/Pictures/static/images/produces/${value}/${value}_${
            i + 1
          }.png` as String,
        index: i,
      } as any)
  );
}

export const productsData = {
  productsProfile: [
    {
      type: "one_one_wu_zhou",
      title: "无轴版辊库",
      cn: [
        "快速准确地存入、取出版辊。",
        "智能操作平台，自动翻转装置，一个人就能操作。",
        "减少人为蛮力操作，同时更节省存取版辊的时间。",
        "避免人工储藏过程中产生碰撞而造成的损失，充分提高生产印前印后存取版辊的效率。",
        "减少现场占用率，大大有效地提高空间的使用率。",
        "存取版辊方便快捷，省时省力，节约空间，有效提高企业生产的效率，为企业带来高效益。",
      ],
      en: [
        "Quickly and accurately store or take out the master roll used by users",
        "Realize man-machine automatic docking and turning",
        "Reduce manual brute force operation and save the search time of plate roller",
        "To avoid losses caused by collisions during manual storage, and fully improve the efficiency of accessing the plate rollers before and after production.",
        "Greatly reduce site occupation and installation efficiency",
        "High usage rate of storage roller, and the equipment is firm and solid",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/one_one_wu_zhou/one_one_wu_zhou_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/one_one_wu_zhou.png",
      video:
        "file:///storage/emulated/0/Pictures/static/videos/one_one_wu_zhou.mp4",
      swiperData: initArray(2, "one_one_wu_zhou"),
    },
    {
      type: "you_zhou_L",
      title: "有轴版辊库(横版)",
      cn: [
        "快速准确地存入、取出版辊。",
        "智能操作平台，自动翻转装置，一个人就能操作。",
        "减少人为蛮力操作，同时更节省存取版辊的时间。",
        "避免人工储藏过程中产生碰撞而造成的损失，充分提高生产印前印后存取版辊的效率。",
        "减少现场占用率，大大有效地提高空间的使用率。",
        "存取版辊方便快捷，省时省力，节约空间，有效提高企业生产的效率，为企业带来高效益。",
      ],
      en: [
        "Quickly and accurately store or take out the master roll used by users",
        "Realize man-machine automatic docking and turning",
        "Reduce manual brute force operation and save the search time of plate roller",
        "To avoid losses caused by collisions during manual storage, and fully improve the efficiency of accessing the plate rollers before and after production.",
        "Greatly reduce site occupation and installation efficiency",
        "High usage rate of storage roller, and the equipment is firm and solid",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/you_zhou_L/you_zhou_L_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/you_zhou_L.png",
      video: "file:///storage/emulated/0/Pictures/static/videos/you_zhou_L.mp4",
      swiperData: initArray(2, "you_zhou_L") as any,
    },
    {
      type: "you_zhou_V",
      title: "有轴版辊库(竖版)",
      cn: [
        "快速准确地存入、取出版辊。",
        "智能操作平台，自动翻转装置，一个人就能操作。",
        "减少人为蛮力操作，同时更节省存取版辊的时间。",
        "避免人工储藏过程中产生碰撞而造成的损失，充分提高生产印前印后存取版辊的效率。",
        "减少现场占用率，大大有效地提高空间的使用率。",
        "存取版辊方便快捷，省时省力，节约空间，有效提高企业生产的效率，为企业带来高效益。",
      ],
      en: [
        "Quickly and accurately store or take out the master roll used by users",
        "Realize man-machine automatic docking and turning",
        "Reduce manual brute force operation and save the search time of plate roller",
        "To avoid losses caused by collisions during manual storage, and fully improve the efficiency of accessing the plate rollers before and after production.",
        "Greatly reduce site occupation and installation efficiency",
        "High usage rate of storage roller, and the equipment is firm and solid",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/you_zhou_V/you_zhou_V_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/you_zhou_V.png",
      video: "file:///storage/emulated/0/Pictures/static/videos/you_zhou_V.mp4",
      swiperData: initArray(2, "you_zhou_V") as any,
    },
    {
      type: "one_double_wuzhou",
      title: "单梁双层无轴版辊库",
      cn: [
        "快速准确地存入、取出版辊。",
        "智能操作平台，自动翻转装置，一个人就能操作。",
        "减少人为蛮力操作，同时更节省存取版辊的时间。",
        "避免人工储藏过程中产生碰撞而造成的损失，充分提高生产印前印后存取版辊的效率。",
        "减少现场占用率，大大有效地提高空间的使用率。",
        "存取版辊方便快捷，省时省力，节约空间，有效提高企业生产的效率，为企业带来高效益。",
      ],
      en: [
        "Quickly and accurately store or take out the master roll used by users",
        "Realize man-machine automatic docking and turning",
        "Reduce manual brute force operation and save the search time of plate roller",
        "To avoid losses caused by collisions during manual storage, and fully improve the efficiency of accessing the plate rollers before and after production.",
        "Greatly reduce site occupation and installation efficiency",
        "High usage rate of storage roller, and the equipment is firm and solid",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/one_double_wuzhou/one_double_wuzhou_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/one_double_wuzhou.png",
      video:
        "file:///storage/emulated/0/Pictures/static/videos/one_double_wuzhou.mp4",
      swiperData: initArray(2, "one_double_wuzhou") as any,
    },
    {
      type: "double_double_wuzhou",
      title: "双梁双层无轴大版库",
      cn: [
        "快速准确地存入、取出版辊。",
        "智能操作平台，自动翻转装置，一个人就能操作。",
        "减少人为蛮力操作，同时更节省存取版辊的时间。",
        "避免人工储藏过程中产生碰撞而造成的损失，充分提高生产印前印后存取版辊的效率。",
        "减少现场占用率，大大有效地提高空间的使用率。",
        "存取版辊方便快捷，省时省力，节约空间，有效提高企业生产的效率，为企业带来高效益。",
      ],
      en: [
        "Quickly and accurately store or take out the master roll used by users",
        "Realize man-machine automatic docking and turning",
        "Reduce manual brute force operation and save the search time of plate roller",
        "To avoid losses caused by collisions during manual storage, and fully improve the efficiency of accessing the plate rollers before and after production.",
        "Greatly reduce site occupation and installation efficiency",
        "High usage rate of storage roller, and the equipment is firm and solid",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/double_double_wuzhou/double_double_wuzhou_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/double_double_wuzhou.png",
      video:
        "file:///storage/emulated/0/Pictures/static/videos/double_double_wuzhou.m4v",
      swiperData: initArray(2, "double_double_wuzhou") as any,
    },
    {
      type: "gong_mo",
      title: "全自动供墨系统",
      cn: [
        "一种能实现数据化配方、自动调色的设备。",
        " 可实现色相配方数据化，重现始值度高，调色技术可转成公司保留技术。",
        " 自动化调配过程，零油墨接触，比传统的调配效率提高60%，墨库集中管理,使得原材料仓存可视化、数据化,解决占地问题，比传统存放调用率提高45%。",
      ],
      en: [
        "A device that can achieve data-driven formulas and automatic color adjustment.",
        "It can achieve the digitization of color formula, with high reproducibility, and color matching technology can be converted into company reserved technology.",
        "The automated blending process has zero ink contact, improving the efficiency by 60% compared to traditional blending. The ink library is centrally managed, making the raw material storage visualized and data-driven, solving the problem of land occupation, and increasing the utilization rate by 45% compared to traditional storage.",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/gong_mo/gong_mo_1.png",
      videoPoster: "",
      video: "",
      swiperData: initArray(2, "gong_mo") as any,
    },
    {
      type: "hong_xiang",
      title: "自动烘箱系统",
      cn: [
        "多烘位独立加热，专热专用",
        "低功耗独立预热系统",
        "全自动恒量热风系统",
        "参数:箱体6、箱体4",
        "全自动PID恒温系统",
        "全自动定时、烘干、出仓",
        "科学的风道循环系统,充分满足胶纸的干燥特性使得纸面烘干更均匀",
      ],
      en: [
        "Multiple drying positions for independent heating, dedicated for heating",
        "Low power independent preheating system",
        "Fully automatic constant hot air system",
        "Parameters: Box 6, Box 4",
        "Fully automatic PID constant temperature system",
        "Fully automatic timing, drying, and unloading",
        "A scientific air duct circulation system fully meets the drying characteristics of adhesive paper, making the drying of the paper surface more uniform",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/hong_xiang/hong_xiang_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/hong_xiang__gua_jiao.png",
      video:
        "file:///storage/emulated/0/Pictures/static/videos/hong_xiang__gua_jiao.mp4",
      swiperData: initArray(2, "hong_xiang") as any,
    },
    {
      type: "gua_jiao_ji",
      title: "浸渍平衡机",
      cn: [
        "全自动实现人手、胶水无接触操作",
        "匀速、匀涧，实现均匀全面的上胶量",
        "自动循环胶水，防止白乳、固化",
        "自动辑面防干润胶,全天免洗",
        "简易的拆装方式,清洗方便、快捷",
      ],
      en: [
        "Fully automatic non-contact operation of human hands and glue",
        "Uniform speed and flow, achieving uniform and comprehensive glue application",
        "Automatic circulation of glue to prevent white milk and solidification",
        "Automatic face editing and anti drying glue, free from washing all day long",
        "Easy disassembly and assembly method, convenient and fast cleaning",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/gua_jiao_ji/gua_jiao_ji_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/hong_xiang__gua_jiao.png",
      video:
        "file:///storage/emulated/0/Pictures/static/videos/hong_xiang__gua_jiao.mp4",
      swiperData: initArray(2, "gua_jiao_ji") as any,
    },
    {
      type: "you_gang_jia",
      title: "钢架平台",
      cn: [
        "快速准确地存入、取出版辊。",
        "智能操作平台，自动翻转装置，一个人就能操作。",
        "减少人为蛮力操作，同时更节省存取版辊的时间。",
        "避免人工储藏过程中产生碰撞而造成的损失，充分提高生产印前印后存取版辊的效率。",
        "减少现场占用率，大大有效地提高空间的使用率。",
        "存取版辊方便快捷，省时省力，节约空间，有效提高企业生产的效率，为企业带来高效益。",
      ],
      en: [
        "Quickly and accurately store or take out the master roll used by users",
        "Realize man-machine automatic docking and turning",
        "Reduce manual brute force operation and save the search time of plate roller",
        "To avoid losses caused by collisions during manual storage, and fully improve the efficiency of accessing the plate rollers before and after production.",
        "Greatly reduce site occupation and installation efficiency",
        "High usage rate of storage roller, and the equipment is firm and solid",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/you_gang_jia/you_gang_jia_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/you_gang_jia.png",
      video:
        "file:///storage/emulated/0/Pictures/static/videos/you_gang_jia.mp4",
      swiperData: initArray(2, "you_gang_jia") as any,
    },
    {
      type: "wu_gang_jia",
      title: "自建平台",
      cn: [
        "快速准确地存入、取出版辊。",
        "智能操作平台，自动翻转装置，一个人就能操作。",
        "减少人为蛮力操作，同时更节省存取版辊的时间。",
        "避免人工储藏过程中产生碰撞而造成的损失，充分提高生产印前印后存取版辊的效率。",
        "减少现场占用率，大大有效地提高空间的使用率。",
        "存取版辊方便快捷，省时省力，节约空间，有效提高企业生产的效率，为企业带来高效益。",
      ],
      en: [
        "Quickly and accurately store or take out the master roll used by users",
        "Realize man-machine automatic docking and turning",
        "Reduce manual brute force operation and save the search time of plate roller",
        "To avoid losses caused by collisions during manual storage, and fully improve the efficiency of accessing the plate rollers before and after production.",
        "Greatly reduce site occupation and installation efficiency",
        "High usage rate of storage roller, and the equipment is firm and solid",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/wu_gang_jia/wu_gang_jia_1.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/wu_gang_jia.png",
      video:
        "file:///storage/emulated/0/Pictures/static/videos/wu_gang_jia.mp4",
      swiperData: initArray(2, "wu_gang_jia") as any,
    },
    {
      type: "bao_zhuang_ji",
      title: "装饰纸卷包装机",
      cn: [
        "智能化高，操作简单方便，一键启动，完成包装整个过程。",
        "降低工人劳动强度，提高包装效率。",
        "纸卷外观包装标准，外观一致性高，整齐划一。",
        "一体式设计，结构紧凑，节省空间。",
      ],
      en: [
        "High intelligence, simple and convenient operation, one click start, completing the entire packaging process.",
        "Reduce the labor intensity of workers and improve packaging efficiency.",
        "The appearance packaging of the paper roll is standardized, with high consistency and uniformity in appearance.",
        "Integrated design, compact structure, space saving.",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/bao_zhuang_ji/bao_zhuang_ji_2.png",
      videoPoster:
        "file:///storage/emulated/0/Pictures/static/videos/bao_zhuang_ji.png",
      video:
        "file:///storage/emulated/0/Pictures/static/videos/bao_zhuang_ji.mp4",
      swiperData: initArray(2, "bao_zhuang_ji") as any,
    },
    {
      type: "pei_se_ji",
      title: "微型配色系统",
      cn: [
        "一种能实现数据化配方、自动调色的设备。",
        " 可实现色相配方数据化，重现始值度高，调色技术可转成公司保留技术。",
        " 自动化调配过程，零油墨接触，比传统的调配效率提高60%，墨库集中管理,使得原材料仓存可视化、数据化,解决占地问题，比传统存放调用率提高45%。",
      ],
      en: [
        "A device that can achieve data-driven formulas and automatic color adjustment.",
        "It can achieve the digitization of color formula, with high reproducibility, and color matching technology can be converted into company reserved technology.",
        "The automated blending process has zero ink contact, improving the efficiency by 60% compared to traditional blending. The ink library is centrally managed, making the raw material storage visualized and data-driven, solving the problem of land occupation, and increasing the utilization rate by 45% compared to traditional storage.",
      ],
      path: `/pages/products/product`,
      poster:
        "file:///storage/emulated/0/Pictures/static/images/produces/pei_se_ji/pei_se_ji_2.png",
      videoPoster: "",
      video: "",
      swiperData: initArray(2, "pei_se_ji") as any,
    },
  ],
};
